package com.chinacoal.microservice.mapper;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.chinacoal.microservice.pojo.CcmsSmartleasingDeviceChange;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author liule
 * @version V1.0
 * @Description: 房源管理-房间管理-换表记录-mybatis-plus的接口类
 * @date 2022年12月9日
 */
public interface CcmsSmartleasingDeviceChangeMapper extends BaseMapper<CcmsSmartleasingDeviceChange> {
    /**
     * @Description: 条件查询所有的设备改变记录
     * @author liule
     * @date 2022年12月8日
     */
    List<CcmsSmartleasingDeviceChange> getAllByCondition(@Param("fkYundingRoomId") String fkYundingRoomId,
                                                         @Param("bCurrentMonth") String bCurrentMonth);

    /**
     * @description
     * @author leo
     * @date 2022-12-28 10:20
     */
    List<CcmsSmartleasingDeviceChange> getAllByConditionLastMonth(@Param("fkYundingRoomId") String fkYundingRoomId);
}
